package com.usian.apis.media;

import com.usian.model.admin.dtos.NewsAuthDto;
import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.media.dtos.WmNewsDto;
import com.usian.model.media.dtos.WmNewsPageReqDto;
import com.usian.model.media.pojos.WmNews;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface WmNewsControllerApis {

    ResponseResult findList(WmNewsPageReqDto dto);

    ResponseResult submitNews(WmNewsDto dto);

    ResponseResult queryNewsById(Integer id);

    ResponseResult delNews(Integer id);

    ResponseResult downOrUpNews(WmNewsDto dto);

    WmNews findNewsById(Integer id);

    ResponseResult updateNewsStatus(WmNews wmNews);

    List<WmNews> findRelease();

    ResponseResult findList(NewsAuthDto newsAuthDto);

    ResponseResult findOne(Integer id);

}
